ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.DataEngine Assembly / GrapeCity.Enterprise.Data.DataEngine.Aggregates Namespace / Aggregate Structure / Create Method / Create(AggregateFunction,Variant[]) Method
Aggregate function.
Initial aggregate state.

In This Topic
    Create(AggregateFunction,Variant[]) Method
    In This Topic
    Creates aggregate with a given state.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal function As AggregateFunction, _
       ByVal state() As Variant _
    ) As Aggregate
    public static Aggregate Create( 
       AggregateFunction function,
       Variant[] state
    )

    Parameters

    function
    Aggregate function.
    state
    Initial aggregate state.
    Remarks
    Used by 'Lancer' (data provider for the semantic reports) and by ar.core in snapshot serializer
    See Also